@import '~antd/lib/style/themes/default.less'; //引入antd默认样式

//把antd的样式赋值给本地样式变量
@nav-header-height: @layout-header-height * 1.75;
//内容页面高度
@content-height: calc(~'100vh - @{nav-header-height}');
//内容内部最大高度
@box-content-height: calc(~'@{content-height} - 20px');
//边框颜色
@border-color: #ebedf0;
//绿色
@green: #176B2C;
//红色
@red: #801919;
//蓝色
@blue: #108ee9;

.red{
  color: #801919;
}
.green{
  color: #176B2C;
}
.blue{
  color: #108ee9;
}

//全局字体
@fontRegular: PingFangSC-Regular;
@fontLight: PingFangSC-Light;
@fontMedium: PingFangSC-Medium;
@fontSemibold: PingFangSC-Semibold;

html, body, #root {
  height: 100%;
  font-family: @fontRegular;
}


body {
  margin: 0;
}


.star-enter {
  margin: auto;
  z-index: 1;
  opacity: 0.01;
  transform-origin: 0 0;
  transform:rotateY(270deg);
}
.star-enter-active {
  margin: auto;
  z-index: 1;
  opacity: 1;
  transform-origin: 0 0;
  transform:rotateY(360deg);
  transition: all 300ms ease-in;
}
.star-exit {
  margin: auto;
  z-index: 0;
  opacity: 1;
  transform-origin: 0 0;
  transform:rotateY(360deg);
}
.star-exit-active {
  display: none;
  margin: auto;
  z-index: 0;
  opacity: 0;
  transform-origin: 0 0;
  transform:rotateY(270deg);
  transition: all 300ms ease-in;
}